package com.ruoyi.common.enums;

/**
 * 业务操作类型
 *
 * @author ruoyi
 */
public interface Enums
{
    public static enum EncryptType {
        NO_Encrypt("未加密", 0),
        Encrypt_BASE64("加密1", 1),
        Encrypt_PBE("加密2", 2),
        Encrypt_AES("加密3", 3);

        private final String name;
        private final Integer value;

        private EncryptType(String name, Integer value) {
            this.name = name;
            this.value = value;
        }
        public String getName() {
            return name;
        }

        public Integer getValue() {
            return value;
        }
    }
    public static enum EncryptStatus {
        NO("否", 0),
        YES("是", 1);

        private final String name;
        private final Integer value;

        private EncryptStatus(String name, Integer value) {
            this.name = name;
            this.value = value;
        }
        public String getName() {
            return name;
        }

        public Integer getValue() {
            return value;
        }
    }

}
